
package com.idealighter.game.gamehall.message;

import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;

import com.idealighter.game.core.annotation.ResMsg;
import com.idealighter.game.message.ModuleMsgIdConstant;
import com.idealighter.game.message.core.ResMessage;

import lombok.Data;

/**
 * 桌子密码已经改变消息.
 */
@ResMsg(ModuleMsgIdConstant.GameCommon.NOTICE_TABLE_PWD_CHANGE)
@Data
public class ResTablePwdChangedMsg implements ResMessage {
  @Protobuf(order = 1)
  private int id = ModuleMsgIdConstant.GameCommon.NOTICE_TABLE_PWD_CHANGE;
  // 桌子id
  @Protobuf(order = 2)
  private long tableId;
  // 0:没有密码,非0:有密码
  @Protobuf(order = 3)
  private int hasPwd;
}
